<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>编辑商品</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <!-- Sweet Alert -->
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="css/plugins/switchery/switchery.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <style>
        .onoff { font-size: 0; position: relative; overflow: hidden; display: block; }
        .onoff label { vertical-align: top; display: inline-block; *display: inline;
            *zoom: 1;
            cursor: pointer; }
        .onoff input[type="radio"] { position: absolute; top: 0; left: -999px; }
        .onoff .cb-enable,
        .onoff .cb-disable { color: #777; font-size: 12px; /*line-height: 25px;*/ background-color: #ECF0F1; height: 35px; padding: 6px 9px; border-style: solid; border-color: #BEC3C7; }
        .onoff .cb-enable { border-width: 1px 0 1px 1px; border-radius: 4px 0 0 4px; }
        .onoff .cb-disable { border-width: 1px 1px 1px 0; border-radius: 0 4px 4px 0; }
        .onoff .cb-disable.selected { color: #FFF; background-color: #96A6A6; border-color: #808B8D; }
        .onoff .cb-enable.selected { color: #FFF; background-color: #1BBC9D; border-color: #16A086 }
    </style>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>添加套餐</h5>
                </div>
                <div class="ibox-content">
                    <div style="display: none;" id="alert" class="alert"></div>
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">套餐名称：</label>
                            <div class="col-sm-2">
                                <input id="title" name="title"  class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">套餐类型 ：</label>
                            <div class="col-sm-2">
                                <select class="form-control m-b" name="type" id="type">
                                    <option value="">-----请选择套餐类型-----</option>
                                    <option value="0">折扣</option>
                                    <option value="1">满减</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">套餐基数 ：</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" name="vector" id="vector">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">套餐折扣率或满减金额：</label>
                            <div class="col-sm-2">
                                <input id="discount" name="discount"  class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">选择商品：</label>
                            <div class="col-sm-2">
                                <input id="search_goods_name"   class="form-control" type="text" placeholder="请输入商品名称或code">
                            </div>

                            <button class="btn btn-white" type="button" id="btn_goods_name" style="margin-bottom: 0px;">搜索商品</button>

                        </div>
                        <div  id="form-group div_goods_search_result" class="form-group">
                            <label class="col-sm-3 control-label">搜索结果：</label>
                            <div class="col-sm-9" id="serch_goods"></div>
                        </div>
                        <!-- <input type="hidden" name="goods_arr" id="goods_arr">-->
                        <div class="from-group">
                            <label class="col-lg-3 control-label">状态：</label>
                            <div class="col-sm-4 onoff">
                                <label for="site_status1" class="cb-enable selected">启用</label>
                                <label for="site_status0" class="cb-disable">禁用</label>
                                <input id="site_status1" name="status" checked="checked" value="1" type="radio">
                                <input id="site_status0" name="status" value="0" type="radio">
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-sm-12 col-sm-offset-3">
                                <button class="btn btn-w-m btn-success" id="submit" type="button">提交</button>
                                <button class="btn btn-w-m btn-success" onclick="javascript:history.back(-1);return false;" type="button">返回</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 全局js -->
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<!-- Switchery -->
<script src="js/plugins/switchery/switchery.js"></script>
<!-- Sweet alert -->
<script src="js/plugins/sweetalert/sweetalert.min.js"></script>

<!-- jQuery Validation plugin javascript-->
<script src="js/plugins/validate/jquery.validate.min.js"></script>
<script src="js/plugins/validate/messages_zh.min.js"></script>
<!-- 自定义js -->
<script src="js/content.js?v=1.0.0"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/tmpl/taocang_edit.js"></script>

</body>

</html>
